﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Web;
using System.Web.Compilation;
using System.Resources;
using System.Globalization;
using System.Reflection;

/// <summary>
/// Summary description for ResourceProviderFactory
/// </summary>
namespace MikeKappel.Com.CS.Resources
{
    public sealed class MkResourceReader : IResourceReader
    {
        private IDictionary _resources;

        public MkResourceReader(IDictionary resources)
        {
            _resources = resources;
        }

        IDictionaryEnumerator IResourceReader.GetEnumerator()
        {
            return _resources.GetEnumerator();
        }

        void IResourceReader.Close() { }

        IEnumerator IEnumerable.GetEnumerator()
        {
            return _resources.GetEnumerator();
        }

        void IDisposable.Dispose() { return; }
    }
}

